repo: Don't set GPG engine executable path
authorColin Walters <walters@verbum.org>
Mon, 10 Feb 2014 14:10:13 +0000 (09:10 -0500)
committerColin Walters <walters@verbum.org>
Mon, 10 Feb 2014 14:12:00 +0000 (09:12 -0500)
The instructions one finds on the internets are apparently wrong, we
really need to keep the default here, since gpgme uses it to actually
find the helper binary it runs.

This fixes the GPG tests for me on EL7 at least.

src/libostree/ostree-repo.c

index aab625a4cf307de5bd7328eef69409605415c000..48787ca28424b06dcce8dfd322de520f1cb1650c 100644 (file)
@@ -1581,7 +1581,7 @@ ostree_repo_sign_commit (OstreeRepo     *self,
   
   if (homedir != NULL)
     {
-      if ((err = gpgme_ctx_set_engine_info (context, info->protocol, "ostree", homedir))
+      if ((err = gpgme_ctx_set_engine_info (context, info->protocol, NULL, homedir))
           != GPG_ERR_NO_ERROR)
         {
           g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,